﻿  <div class="container">
        <div>
                       
            <div class="row">
                <a href="EventReg/app/newevent.html">{{admin}}</a>
                <div class="span11">
                    <img ng-src='{{Event.imageurl}}' >
                    <h2> {{Event.name}}</h2>
                </div>
            </div>
            <div class= "jumbotron row">
                <div class="span3">
                 <div>   <span class="strong"> Date:</span> {{Event.date}}</div>
                   <div>  <span class="strong"> Time:</span>{{Event.time}}</div>
               </div>
                <div class="span4">
                    <address>
                        <strong>Address</strong><br />
                        {{Event.location.address}}<br />
                        {{Event.location.city}},{{Event.location.state}}
                    </address>
                </div>
            
          
        </div>
            <hr />
              
            
            <button class="btn btn-primary" ng-click="Simpa(Event)">Add Session</button>
            <h2>Sessions</h2>
            <select ng-model="sortOrder">
                <option value="upVoteCount">Vote</option>
                <option value="name">Name</option>
            </select>
           <select ng-model="query.level">
                <option value="">All</option>
                <option value="Introductory">Introductory</option>
                <option value="Intermediate">Intermediate</option>
               <option value="Advanced">Advanced</option>
            </select>
            <ul class="thumbnails" >
                <li ng-repeat=" session in Event.session | orderBy:sortOrder |filter:query">
                    <div class="row session span10">
                    <div class="span0">
                   
                        <voting-Widget upvote="Upvote(session)" downvote="Downvote(session)" count="session.upVoteCount" session="session" />
                    </div>
                 <div  class="span6" >
                  
                  <my-Sample  session="session"/>
                   
                   </div>
                        </div>
                </li>
            </ul>


    </div>
    </div>
  